#!/bin/env python
import wx
class MainFrame(wx.Frame): 
   def __init__(self): 
       wx.Frame.__init__(self, None, -1, "My Frame", size=(800, 600)) 
       panel = wx.Panel(self, -1) 
       #panel.Bind(wx.EVT_MOTION,  self.OnMove) 
       #dlg = wx.SingleChoiceDialog(None,'What version of Python are you using?', 'Single Choice',['1.5.2', '2.0', '2.1.3', '2.2', '2.3.1'])
       #if dlg.ShowModal() == wx.ID_OK:
       #    response = dlg.GetStringSelection()
       samplelist = ['game1','game 2','game 3','game 4','game 5','game 6']
       gameList = wx.ListBox(panel, id=-1, pos = wx.DefaultPosition,
                  size=wx.DefaultSize,
                  choices=samplelist,style=wx.LB_MULTIPLE,validator=wx.DefaultValidator,name="listBox")


if __name__ == '__main__': 
    app = wx.PySimpleApp() 
    frame = MainFrame() 
    frame.Show(True) 
    app.MainLoop()
